package br.net.woodstock.tickettoride.client.beans;

import java.util.Date;

import br.net.woodstock.tickettoride.client.TicketData;

public class DefaultTicketData implements TicketData {

	private String	application;

	private Date	date;

	private Date	expires;

	private byte[]	bytes;

	public DefaultTicketData(final String application, final Date date, final Date expires, final byte[] bytes) {
		super();
		this.application = application;
		this.date = date;
		this.expires = expires;
		this.bytes = bytes;
	}

	@Override
	public String getApplication() {
		return this.application;
	}

	public void setApplication(final String application) {
		this.application = application;
	}

	@Override
	public Date getDate() {
		return this.date;
	}

	public void setDate(final Date date) {
		this.date = date;
	}

	@Override
	public Date getExpires() {
		return this.expires;
	}

	public void setExpires(final Date expires) {
		this.expires = expires;
	}

	@Override
	public byte[] getBytes() {
		return this.bytes;
	}

	public void setBytes(final byte[] bytes) {
		this.bytes = bytes;
	}
}
